package com.alks.function.data.dto.sys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class SdUserDto {

    @ApiModelProperty(value = "用户id",name = "userId")
    private String userId;

    @ApiModelProperty(value = "英文名字",name = "engName")
    private String engName;

    @ApiModelProperty("中文名字")
    private String chiName;

    @ApiModelProperty("公司名称")
    private String abbrName;

    @ApiModelProperty(value = "职务名称",name = "posName")
    private String posName;

    @ApiModelProperty(value = "部门名称",name = "deptName")
    private String deptName;

    private String deptNo;

    @ApiModelProperty("最后登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private LocalDateTime lastLogin;

    @ApiModelProperty("锁定状态 Y锁定 N正常 默认为空")
    private String lockStatus;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("领用部门")
    private String drawDept;

    @ApiModelProperty("外网标记 N内网 Y外网 默认为空")
    private String netFlag;

    @ApiModelProperty("派工部门")
    private String dispatchDept;

}
